package com.example.theadadmin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.theadadmin.entity.User;
import com.example.theadadmin.vo.AccountVo;
import com.example.theadadmin.vo.ForgetVo;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王东
 * @since 2024-09-05
 */
public interface IUserService extends IService<User> {

    void register(AccountVo count);
    public User getUserByName(String accountName);
    public User login(String username, String password);

    /**
     * 重置密码
     */
    void sendEmail(String pwd,User user);
    public void resetPwd(ForgetVo forgetVo);
    public void resetPwdWithAttacchment();

}
